/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.partaljevic.tapestry.gambling.service;

import com.partaljevic.gambling.beans.Result;
import java.io.Serializable;
import java.util.List;
import org.apache.tapestry5.hibernate.annotations.CommitAfter;

/**
 *
 * @author Nemanja
 */
public interface ResultService {

    @CommitAfter
    Result save(Result result);
    List<Result> retreive();
    Result retreive(Serializable id);

}
